<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <%@include file="/WEB-INF/views/include/weixinhead.jsp" %>
    <style>
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            padding: 0;
            background: #494A5F;
            font-weight: 500;
            font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
        }

        #container {
            width: 100%;
            height: 102px;
            margin: 0 auto;
            padding-left: 12px;
            padding-right: 12px;
        }
        div.search {padding: 30px 0;}

        form {
            position: relative;
            width: 100%;
            margin: 0 auto;
        }
        input, button {
            border: none;
            outline: none;
        }
        input {
            width: 100%;
            height: 42px;
            padding-left: 13px;
        }
        button {
            height: 38px;
            width: 42px;
            cursor: pointer;
            position: absolute;
        }
        /*搜索框6*/
        .bar6 {background: #ffffff;}
        .bar6 input {
            border: 2px solid #46ca98;
            border-radius: 5px;
            background: transparent;
            top: 0;
            right: 0;
        }
        .bar6 button {
            background-color: #46ca98 !important;
            border-radius: 0 5px 5px 0;
            width: 60px;
            position: absolute;
            top: 2px;
            right: 0;
            padding: 0px;
            border:none;
        }
        .bar6 button:before {
            content: "搜索";
            font-size: 13px;
            color: #ffffff;
        }

    </style>
</head>
<body>
<!--校园信息-->
<div data-role="page" id="campus-msg" class="page">
    <div data-role="header" class="header header-1">校园信息
        <span class="return-btn"><a href="/f/campusinfo/homepage" data-ajax="false" data-transition="slideup"><img src="${ctxStatic}/modules/wechat/css/images/yuanjiaojuxing25.png" alt=""></a></span>
        <span><a href="#LostAndFound" data-ajax="false" data-transition="slideup"><span>拾物登记</span></a></span>
    </div>
    <div role="main" class="content-1">
        <div id="campus-msg-title">
            <%--<span class="title-span title-span-active" classifyId="0">所有</span>--%>
            <span class="title-span title-span-active" classifyId="1">校园通知</span>
            <span class="title-span" classifyId="4"id="lost-and-found">失物招领</span>
            <span class="title-span" classifyId="2">图书馆空位</span>
            <span class="title-span" classifyId="3">其他</span>
            <%--<span class="title-span" classifyId="1">教务处通知</span>--%>
            <%--<span class="title-span" classifyId="2">学生处通知</span>--%>
            <%--<span class="title-span" classifyId="3">勤工俭学</span>--%>
            <%--<span class="title-span" classifyId="4">就业信息</span>--%>
            <%--<span class="title-span" classifyId="5" id="lost-and-found">失物招领</span>--%>
            <%--<span class="title-span" classifyId="6">教室空位</span>--%>
            <%--<span class="title-span" classifyId="7">机房空位</span>--%>
        </div>
        <div class="msg-content content-1" id="campus-msg-content">
        </div>
        <!--<div data-role="footer"></div>-->
        <iframe id="Loading" src="/f/campusinfo/LoadingOfResources" style="width: 100%;height:42px;" frameborder="0"></iframe>
        <iframe id="complete" src="/f/campusinfo/completeLoadingOfResources" frameborder="0" style="width: 100%;height:42px;"></iframe>
        <iframe id="errorLoad" src="/f/campusinfo/errorLoadingResources" frameborder="0" style="width: 100%;height:42px;display: none"></iframe>
    </div>
</div>
<div id="LostAndFound"  data-role="page">
    <div data-role="header" class="header header-1">拾物登记
        <span class="return-btn"><a href="#campus-msg" data-ajax="false" data-transition="slideup"><img src="${ctxStatic}/modules/wechat/css/images/yuanjiaojuxing25.png" alt=""></a></span>
    </div>
    <div role="main" class="content-2"  style="padding:12px;padding-top: 20px;">
        <div class="LostAndFound">物品名称
            <input type="text" placeholder="请输入标题" class="non-empty">
        </div>
        <div class="LostAndFound">拾取地点
           <input type="text" placeholder="请输入拾取地点" class="non-empty">
        </div>
        <div class="LostAndFound">联系电话
            <input type="number" placeholder="请留下您的手机号码" class="non-empty">
        </div>
        <div id="submitReplyBtn">提交</div>
    </div>
</div>
<%--<div id="Find-lost-items"  data-role="page">--%>
    <%--<div data-role="header" class="header header-1">失物找回--%>
        <%--<span class="return-btn"><a href="#campus-msg" data-ajax="false" data-transition="slideup"><img src="${ctxStatic}/modules/wechat/css/images/yuanjiaojuxing25.png" alt=""></a></span>--%>
    <%--</div>--%>
    <%--<div role="main" class="content-2"  style="padding:12px;padding-top: 20px;">--%>
        <%--<div id="lost-container" style="display: none">--%>
            <%--<div class="lost-name" style=" border-right: 1px solid #00000015;">物品名称</div>--%>
            <%--<div class="lost-address" style=" border-right: 1px solid #00000015;">拾到地址</div>--%>
            <%--<div class="lost-Contact-information">拾到人联系方式</div>--%>
            <%--<div id="lost-items">--%>
                <%--<div class="lost-item">--%>
                    <%--<div class="lost-name">u盘</div>--%>
                    <%--<div class="lost-address">地方</div>--%>
                    <%--<div class="lost-Contact-information">18000000000（手机）</div>--%>
                <%--</div>--%>
            <%--</div>--%>
        <%--</div>--%>
        <%--<div class="LostAndFound">物品名称--%>
            <%--<input type="text" placeholder="请输入标题">--%>
        <%--</div>--%>
        <%--<div class="LostAndFound">拾取地点--%>
            <%--<input type="text" placeholder="请输入拾取地点">--%>
        <%--</div>--%>
        <%--<div class="LostAndFound">联系方式--%>
            <%--<input type="text" placeholder="请留下您的联系方式">--%>
        <%--</div>--%>
        <%--<div id="submitBtn">提交</div>--%>
    <%--</div>--%>
<%--</div>--%>
<script>
    $(document).ready(function () {
        var totalNum=0;  //总加载页数
        var pageNumber=1; //当前加载页数
        var classifyId=0;   //当前选择分类
        start(1);
        // move_scollX();
        var width=$(window).width();
        //窗口大小变化事件
        $(window).resize(function () {
            width = $(window).width();
        });

        /*校园信息标题选中事件*/
        $(".title-span").on("tap", function (event) {
            presentScrollTop=0;
            $(this).addClass("title-span-active").siblings().removeClass("title-span-active");
            classifyId=$(this).attr("classifyId");
            if(classifyId==0){
                //所有
                pageNumber=1;
                $("#campus-msg-content").html('');
                start(pageNumber);
            }else if(classifyId==4){
                // $.mobile.changePage("#Find-lost-items");
                // return false;
                $(".non-empty").eq(0).val('');
                $(".non-empty").eq(1).val('');
                $(".non-empty").eq(2).val('');
                $("#campus-msg-content").html('');
                $("#campus-msg-content").append(" <div id=\"container\">\n" +
                    "                <div class=\"search bar6\">" +
                    "                    <form>" +
                    "                        <input id=\"lost\" type=\"text\" placeholder=\"请输入您丢失的物品名称...\">" +
                    "                        <button id=\"search\" type=\"submit\" onclick=\"return false;\" style=\"margin: 0px;\"></button>\n" +
                    "                    </form>\n" +
                    "                </div>\n" +
                    "           </div>" +
                    "   <div class=\"completeLoadingOfResources\" style=\"display:none;padding-bottom: 32px\">暂时没有登记与此相关物品</div>"+
                    "    <div id=\"lost-container\">" +
                    "</div>");
                //失物列表
                $.ajax({
                    url:interfaceLostList+generateMixed(9),
                    type:'post',
                    success:function(data){
                        // console.log(data);
                        for(var i=0;i<data.page.length;i++){
                            var applyBorder,applyImg;
                            applyBorder="";
                            applyImg="";
                            // if(data.creatJobProjects[i].enrollStatus==0){   //未领取
                            //     applyBorder="apply-check-aside";
                            //     applyImg="apply-checking";
                            // }else if(data.creatJobProjects[i].enrollStatus==1){ //已领取
                            //     applyBorder="apply-pass-aside";
                            //     applyImg="apply-pass";
                            // }
                            $("#lost-container").append(
                                "<div class=\"apply startup "+applyImg+"\"><div class=\"apply-aside "+applyBorder+"\"></div><div class=\"apply-title\">"+"已登记失物"+"</div><div class=\"apply-content\">"+
                                "<div class='apply-content-left'><div class='startup-name'>"+"物品名称"+"</div></div> " +
                                "<div class='apply-content-right'>"+data.page[i].pickName+"</div>" +
                                "<div class='apply-content-left'><div class='startup-content'>"+"拾到地址"+"</div></div> " +
                                "<div class='apply-content-right'>"+data.page[i].pickAddress+"</div>" +
                                "<div class='apply-content-left'><div class='startup-partner'>"+"联系方式"+"</div></div> " +
                                "<div class='apply-content-right'>"+data.page[i].pickPhone+"</div>" +
                                "</div>"+"<div class='apply-time'><label style='display: inline'></label></div> " + "</div>");
                        }
                    }
                })
            }
            else {
                //除所有的其他分类
                if(classifyId==1){
                    $("#campus-msg-content").html('');
                    pageNumber=1;
                    $("#Loading").show();  //显示“加载中”提示
                    $.ajax({
                        url:interfaceCampusList+generateMixed(9),
                        type:"post",
                        data:{pageNo:pageNumber},
                        success:function (data) {
                            // console.log(data);
                            $("#campus-msg-content").html('');
                            $("#Loading").hide();  //隐藏“加载中”提示
                            $("#camplete").show();  //显示底部“加载完成”提示
                            var count=data.page.length;
                            var from="";
                            for(var i=0;i<count;i++){
                                if(!data.page[i].img){
                                    data.page[i].img="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                                }
                                if(data.page[i].classifyId=='1'){
                                    from="(教务处通知)";
                                }else if(data.page[i].classifyId='2'){
                                    from="(学生处通知)"
                                }
                                var titleName=data.page[i].title;
                                var titleContent=data.page[i].description;
                                // if(titleContent!=''){
                                //     titleContent=titleContent.replace(reg,'')
                                // }
                                $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"&nbsp;&nbsp;"+from+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\"  src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                            }
                            totalNum=data.totalPage;
                        },
                        error:function(XMLHttpRequest, textStatus, errorThrown) {
                            $("#Loading").hide();      //隐藏“加载中”提示
                            $("#errorLoad").show();  //显示“加载失败”提示
                        }
                    });
                }else{
                    $("#campus-msg-content").html('');
                    alert("功能开发中，敬请期待！");
                }

            }
        });

        /*菜单栏滑动*/
        // function move_scollX(){
        //     var marginleft=0;
        //     var startPosition, endPosition, distanceX,distanceY;
        //     $("#campus-msg-title").bind('touchstart', function(e){
        //         var touch = e.originalEvent.changedTouches[0]; //移动端
        //         startPosition = {
        //             x: touch.pageX,
        //             y:touch.pageY
        //         }
        //     }).bind('touchmove', function(e){
        //         var touch = e.originalEvent.changedTouches[0]; //移动端
        //         endPosition = {
        //             x: touch.pageX,
        //             y:touch.pageY
        //         };
        //         distanceX = (endPosition.x - startPosition.x)/6;
        //         distanceY =( endPosition.y - startPosition.y)/6;
        //         marginleft=parseInt($(this).css("margin-left").split("p")[0]);
        //         if(distanceX < 0) { // 向左移动，菜单栏左滑
        //             if(width<710&&marginleft>-360){
        //                 $(this).css("margin-left",marginleft+distanceX);
        //             }
        //         } else if (distanceX > 0) { // 向右移动，菜单栏右滑
        //             if(width<710&&marginleft<=0){
        //                 $(this).css("margin-left",marginleft+distanceX);
        //                 if(parseInt($(this).css("margin-left").split("p")[0])>0){
        //                     $(this).css("margin-left",0);
        //                 }
        //             }
        //         }
        //     });
        // }

        // /*校园信息按全部分类显示*/
        //校园通知
        function start(no) {
            //ajax请求返回信息的标题、简介、图片以及id
            $.ajax({
                url:interfaceCampusList+generateMixed(9),
                type:"post",
                data:{pageNo:no},
                error:function(XMLHttpRequest, textStatus, errorThrown) {
                    $("#Loading").hide();      //隐藏“加载中”提示
                    $("#errorLoad").show();  //显示“加载失败”提示
                },
                success:function (data) {
                    // console.log(data);
                    $("#Loading").hide();  //隐藏“加载中”提示
                    $("#camplete").show();  //显示底部“加载完成”提示
                    $("#campus-msg-content").html('');
                    var count=data.page.length;
                    var from='';
                    for(var i=0;i<count;i++){
                        if(!data.page[i].imageSrc){
                            data.page[i].imageSrc="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                        }
                        if(data.page[i].classifyId=='1'){
                            from="(教务处通知)";
                        }else if(data.page[i].classifyId='2'){
                            from="(学生处通知)"
                        }
                        // var reg=/<\/?[^>]*>/g;
                        var titleName=data.page[i].title;
                        // if(titleName!=''){
                        //     titleName=titleName.replace(reg,'');
                        // }
                        var titleContent=data.page[i].description;
                        // if(titleContent!=''){
                        //      titleContent=titleContent.replace(reg,'')
                        // }
                        $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"&nbsp;&nbsp;"+from+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\"  src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                    }

                    totalNum=data.totalPage;
                }
            });
        }

        //点击信息，查看详情
        $(document).delegate(".msg-div","tap",function () {
            var index=$(".msg-div").index($(this));
            if(window.sessionStorage){
                sessionStorage.setItem("msgID",$(this).attr("id"));
                sessionStorage.setItem("classify",'0');//$(".title-span-active").eq(0).attr("classifyid")
                window.location.href="/f/campusinfo/detailsPage"+generateMixed(9);
            }else {
                window.location.href="/f/campusinfo/detailsPage?id="+$(this).attr("id")+"&classify=0"+generateMixed(9);
            }
        });

        /*判断是否是移动设备*/
        function isMobile() {
            if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))){
                return true;
            }
            else{
                return false;
            }
        }
        /*根据滑动异步加载*/
        var presentScrollTop=0;
        if (isMobile()){
            //移动端监听滑动
            $("#campus-msg-content").on("scrollstart",function() {
                scrollTop=$(window).scrollTop();   //当前据顶部距离
                if(scrollTop-presentScrollTop>400){
                    if(pageNumber<totalNum){
                        presentScrollTop=scrollTop;
                        if(classifyId==0){
                            $.ajax({
                                url:interfaceCampusList+generateMixed(9),
                                type:"post",
                                data:{pageNo:pageNumber++},
                                error:function(XMLHttpRequest, textStatus, errorThrown) {
                                    $("#Loading").hide();      //隐藏“加载中”提示
                                    $("#errorLoad").show();  //显示“加载失败”提示
                                },
                                success:function (data) {
                                    $("#Loading").hide();  //隐藏“加载中”提示
                                    $("#camplete").show();  //显示底部“加载完成”提示
                                    var count=data.page.length;
                                    var from="";
                                    for(var i=0;i<count;i++){
                                        if(!data.page[i].imageSrc){
                                            data.page[i].imageSrc="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                                        }
                                        if(data.page[i].classifyId=='1'){
                                            from="(教务处通知)";
                                        }else if(data.page[i].classifyId='2'){
                                            from="(学生处通知)"
                                        }
                                        // var reg=/<\/?[^>]*>/g;
                                        var titleName=data.page[i].title;
                                        // if(titleName!=''){
                                        //     titleName=titleName.replace(reg,'');
                                        // }
                                        var titleContent=data.page[i].description;
                                        // if(titleContent!=''){
                                        //     titleContent=titleContent.replace(reg,'')
                                        // }
                                        $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"&nbsp;&nbsp;"+from+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\" src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                                    }
                                }
                            });
                        }else {
                            $.ajax({
                                url:interfaceCampusList+generateMixed(9),
                                type:"post",
                                data:{classifyId:classifyId,classifpageNo:pageNumber++},
                                error:function(XMLHttpRequest, textStatus, errorThrown) {
                                    $("#Loading").hide();      //隐藏“加载中”提示
                                    $("#errorLoad").show();  //显示“加载失败”提示
                                },
                                success:function (data) {
                                    $("#Loading").hide();  //隐藏“加载中”提示
                                    $("#camplete").show();  //显示底部“加载完成”提示
                                    var count=data.page.length;
                                    var form="";
                                    for(var i=0;i<count;i++){
                                        if(!data.page[i].imageSrc){
                                            data.page[i].imageSrc="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                                        }
                                        // var reg=/<\/?[^>]*>/g;
                                        var titleName=data.page[i].title;
                                        // if(titleName!=''){
                                        //     titleName=titleName.replace(reg,'');
                                        // }
                                        var titleContent=data.page[i].description;
                                        // if(titleContent!=''){
                                        //     titleContent=titleContent.replace(reg,'')
                                        // }
                                        $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\"  src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                                    }
                                }
                            });
                        }
                    }else {
                        $("#Loading").hide();  //隐藏“加载中”提示
                        $("#camplete").show();  //显示底部“加载完成”提示
                    }
                }
            });
        }else{
            //pc端监听滚动
            $(document).scroll(function() {
                scrollTop=$(window).scrollTop();   //当前据顶部距离
                if(scrollTop-presentScrollTop>400){
                    if(pageNumber<totalNum){
                        presentScrollTop=scrollTop;
                        if(classifyId==0){
                            $.ajax({
                                url:interfaceCampusList+generateMixed(9),
                                type:"post",
                                data:{classifyId:classifyId,pageNo:pageNumber++},
                                error:function(XMLHttpRequest, textStatus, errorThrown) {
                                    $("#Loading").hide();      //隐藏“加载中”提示
                                    $("#errorLoad").show();  //显示“加载失败”提示
                                },
                                success:function (data) {
                                    var count=data.page.length;
                                    for(var i=0;i<count;i++){
                                        if(!data.page[i].imageSrc){
                                            data.page[i].imageSrc="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                                        }
                                        // var reg=/<\/?[^>]*>/g;
                                        var titleName=data.page[i].title;
                                        // if(titleName!=''){
                                        //     titleName=titleName.replace(reg,'');
                                        // }
                                        var titleContent=data.page[i].description;
                                        // if(titleContent!=''){
                                        //     titleContent=titleContent.replace(reg,'')
                                        // }
                                        $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\"  src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                                    }
                                }
                            });
                        }else {
                            $.ajax({
                                url:interfaceCampusList+generateMixed(9),
                                type:"post",
                                data:{pageNo:pageNumber++},
                                error:function(XMLHttpRequest, textStatus, errorThrown) {
                                    $("#Loading").hide();      //隐藏“加载中”提示
                                    $("#errorLoad").show();  //显示“加载失败”提示
                                },
                                success:function (data) {
                                    $("#Loading").hide();  //隐藏“加载中”提示
                                    $("#camplete").show();  //显示底部“加载完成”提示
                                    var count=data.page.length;
                                    for(var i=0;i<count;i++){
                                        if(!data.page[i].imageSrc){
                                            data.page[i].imageSrc="${ctxStatic}/modules/wechat/css/images/sx-img.png";
                                        }
                                        // var reg=/<\/?[^>]*>/g;
                                        var titleName=data.page[i].title;
                                        // if(titleName!=''){
                                        //     titleName=titleName.replace(reg,'');
                                        // }
                                        var titleContent=data.page[i].description;
                                        // if(titleContent!=''){
                                        //     titleContent=titleContent.replace(reg,'')
                                        // }
                                        $("#campus-msg-content").append("<div class='msg-div' id="+data.page[i].id+"><div class='msg-content-left'> <div class='msg-div-title'>"+titleName+"</div><div class='msg-div-text'>"+titleContent+"</div> </div> <img onerror=\"this.onerror='';src='${ctxStatic}/modules/wechat/css/images/sx-img.png'\"  src='${imgIp}"+data.page[i].imageSrc+"'></div>");
                                    }
                                }
                            });
                        }
                    }else {
                        $("#Loading").hide();  //隐藏“加载中”提示
                        $("#camplete").show();  //显示底部“加载完成”提示
                    }
                }
            });
        }
        /*拾物登记*/
        $("#submitReplyBtn").click(function () {
            var title=$(".non-empty").eq(0).val();
            var address=$(".non-empty").eq(1).val();
            var tel=$(".non-empty").eq(2).val();
            if(title!=''&&address!=''&&tel!=''){
                $.ajax({
                    url:interfaceFoundList+generateMixed(9),
                    type:'post',
                    data:{pickName:title,pickAddress:address,pickPhone:tel},
                    success:function(data){
                        if(data.success){
                            alert(data.message);
                            window.history.back(-1);
                        }else{
                            alert(data.message);
                        }
                    }
                })
            }
            // $.mobile.changePage("#campus-msg");
        });
        /*搜索丢失物品*/
        $(document).delegate("#search","tap",function () {
            var str=$("#lost").val();
            // console.log(str);
            $.ajax({
                url:interfaceLostList+generateMixed(9),
                type:'post',
                data:{pickName:str},
                success:function(data){
                    // console.log(data);
                    if(data.success){
                        if(data.page.length>0) {
                            $("#lost-container").show();
                            $(".completeLoadingOfResources").hide();
                            $("#lost-container").html('');
                            for (var i = 0; i < data.page.length; i++) {
                                var applyBorder,applyImg;
                                applyBorder="";
                                applyImg="";
                                // if(data.creatJobProjects[i].enrollStatus==0){   //未领取
                                //     applyBorder="apply-check-aside";
                                //     applyImg="apply-checking";
                                // }else if(data.creatJobProjects[i].enrollStatus==1){ //已领取
                                //     applyBorder="apply-pass-aside";
                                //     applyImg="apply-pass";
                                // }
                                $("#lost-container").append(
                                    "<div class=\"apply startup "+applyImg+"\"><div class=\"apply-aside "+applyBorder+"\"></div><div class=\"apply-title\">"+"已登记失物"+"</div><div class=\"apply-content\">"+
                                    "<div class='apply-content-left'><div class='startup-name'>"+"物品名称"+"</div></div> " +
                                    "<div class='apply-content-right'>"+data.page[i].pickName+"</div>" +
                                    "<div class='apply-content-left'><div class='startup-content'>"+"拾到地址"+"</div></div> " +
                                    "<div class='apply-content-right'>"+data.page[i].pickAddress+"</div>" +
                                    "<div class='apply-content-left'><div class='startup-partner'>"+"联系方式"+"</div></div> " +
                                    "<div class='apply-content-right'>"+data.page[i].pickPhone+"</div>" +
                                    "</div>"+"<div class='apply-time'>"+""+"<label style='display: inline'>"+"</label></div> " + "</div>");
                            }
                        }else{
                            $("#lost-container").hide();
                            $(".completeLoadingOfResources").show();
                        }
                    }
                }
            })
        })
    })
</script>
</body>
</html>